package com.shzg.im.model;

public class CategoryFriend extends User {

    private String category_id;

    private String remark;

    /**
     * 本用户的ID
     */
    private String user_id;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCategory_id() {
        return category_id;
    }

    public void setCategory_id(String category_id) {
        this.category_id = category_id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getLogin_id() == null) ? 0 : getLogin_id().hashCode());
        return result;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        CategoryFriend other = (CategoryFriend) obj;
        if (getLogin_id() == null) {
            if (other.getLogin_id() != null)
                return false;
        } else if (!getLogin_id().equals(other.getLogin_id()))
            return false;
        return true;
    }

}
